#!/bin/sh
DATE=`date +%Y%m%d`
PKG="odspeech"
ARCH="noarch"
EXCLUSION=" --exclude \"*~\" --exclude .svn "
OWNERS=" --owner 1000 --group 1000 --same-permissions "
# make || exit 1
echo "Speech module" > pkg/$PKG.desc
cp pkg/*.desc var/pkg
chmod o-rwx usr/local/opendomo/services/config/*.sh
rm -f pkg/*.tar.gz
tar zcf  pkg/$PKG-$DATE.od.$ARCH.tar.gz etc usr var $OWNERS $EXCLUSION

